<div class="pageContent">
	<form method="post" action="<?php echo site_url('backend/product/multiAdd') ?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="56">
			<div class="nowrap">				
				<table class="list nowrap itemDetail" addButton="增加商品" width="100%">
					<thead>
						<tr>
							<th type="text" name="products[#index#][serial]" size="12">商品编号</th>
							<th type="text" name="products[#index#][name]" size="12" fieldClass="required">商品名称</th>
							<th type="text" name="products[#index#][price]" size="12" fieldClass="required number">价格/元</th>
							<th type="enum" name="products[#index#][status]" size="12" fieldClass="required" enumUrl="<?php echo base_url('application/views/backend/product/db_select.php')?>">启用</th>
							<th type="text" name="products[#index#][stock]" size="12" fieldClass="required digits">库存</th>
							<th type="enum" name="products[#index#][category_id]" size="12" fieldClass="required" enumUrl="<?php echo site_url('backend/category/categorySelector')?>">分类</th>
							<th type="enum" name="products[#index#][isHot]" size="12" fieldClass="required" enumUrl="<?php echo base_url('application/views/backend/product/db_select.php')?>">热门商品</th>
							<th type="enum" name="products[#index#][isLimit]" size="12" fieldClass="required" enumUrl="<?php echo base_url('application/views/backend/product/db_select.php')?>">限购商品</th>
							<th type="text" name="products[#index#][limit_num]" size="12" defaultVal="0" fieldClass="required digits">限购数</th>
							<th type="text" name="products[#index#][specs]" size="12" fieldClass="required">规格名</th>
							<th type="attach" name="products[#index#][attachment_filename]" size="12" fieldClass="required" lookupPk="id]" lookupGroup="products[#index#][attachment" lookupUrl="<?php echo site_url('backend/product/multiUpload');?>">缩略图</th>
							<th type="del" width="60">操作</th>
						</tr>
					</thead>
					<tbody></tbody>
				</table>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
